/* 基础样式 */
:root{
    --theme-color: 24, 36, 72;
    --theme-dark-color: 217, 38, 41;
    --theme-light-color: 45, 68, 136;
    --text-black-color: 0, 0, 0;
    --text-gray-color: 30, 30, 30;
    --text-white-color: 255, 255, 255;
}

/* 自定义swiper拓展 */
.swiper-container-wrap {
    position: relative;
}

.swiper-container-wrap .swiper-navigation-prev,
.swiper-container-wrap .swiper-navigation-next {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    width: 3rem;
    height: 3rem;
    margin-top: -1.5rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 10;
}

.swiper-container-wrap .swiper-navigation-prev {
    background-image: url("../icon/swiper-prev-white.svg");
    left: 2rem;
}

.swiper-container-wrap .swiper-navigation-prev.swiper-navigation-black {
    background-image: url("../icon/swiper-prev-black.svg");
}

.swiper-container-wrap .swiper-navigation-next {
    background-image: url("../icon/swiper-next-white.svg");
    right: 2rem;
}

.swiper-container-wrap .swiper-navigation-next.swiper-navigation-black {
    background-image: url("../icon/swiper-next-black.svg");
}

.swiper-box .swiper-thumb {
    margin-top: 2rem;
}

.swiper-box .swiper-thumb .swiper-container-wrap {
    padding: 0 4rem;
}

.swiper-box .swiper-navigation-prev,
.swiper-box .swiper-navigation-next {
    width: 4rem;
    height: 4rem;
    margin-top: -2rem;
}

.swiper-box .swiper-thumb .swiper-navigation-prev {
    left: 0;
    background-position: left center;
    opacity: 0.6;
}

.swiper-box .swiper-thumb .swiper-navigation-next {
    right: 0;
    background-position: right center;
    opacity: 0.6;
}

.swiper-container-wrap .swiper-pagination-wrap {
    margin-top: 3rem;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.swiper-container-wrap .swiper-pagination-bullet {
    width: 1.875rem;
    height: 0.25rem;
    border-radius: 0;
    opacity: 0.5;
}

.swiper-container-wrap .swiper-pagination-bullet:not(:last-child) {
    margin-right: 1rem;
}

.swiper-container-wrap .swiper-pagination-bullet-active {
    background-color: rgb(var(--theme-color));
    opacity: 1;
}

.swiper-container-wrap .swiper-pagination-number {
    border: 1px solid #292929;
    border-radius: 100%;
    text-align: center;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #292929;
    transition: all ease 0.3s;
}

.swiper-pagination-white .swiper-pagination-number {
    border-color: #ffffff;
    color: #ffffff;
}

.swiper-container-wrap .swiper-pagination-number:not(:last-child) {
    margin-right: 1.5rem;
}

.swiper-container-wrap .swiper-pagination-number-active {
    background-color: #292929;
    color: #ffffff;
}

.swiper-pagination-white .swiper-pagination-number-active {
    background-color: #ffffff;
    color: #292929;
}
/* 自定义swiper拓展 */

/* 容器类开始 */
.container,
.container-fluid {
    width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

@media(min-width: 1200px){
    .container {
        max-width: 1040px;
    }
}

@media(min-width: 1400px){
    .container {
        max-width: 1200px;
    }
}

@media(max-width: 998px){
    .container,
    .container-fluid {
        padding-left: 0.625rem;
        padding-right: 0.625rem;
    }
}
/* 容器类结束 */

/* 页面基础开始 */
.space-1{
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.space-2{
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.space-3{
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.space-4{
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.space-5{
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.space-page{
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.gray-page{
    background-color: #f5f5f5;
}

.sidebar-page {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.sidebar-page .sidebar-page-sidebar {
    width: 25%;
}

.sidebar-page .sidebar-page-body {
    width: calc(75% - 2rem);
}

.no-before::before{
    display: none!important;
}

.no-after::after{
    display: none!important;
}

.pc-element {
    display: block;
}

.mobile-element {
    display: none;
}

@media screen and (max-width: 998px){
    .pc-element {
        display: none;
    }

    .mobile-element {
        display: block;
    }
}
/* 页面基础结束 */

/* 全局banner样式 */
.global-banner{
    position: relative;
    background-color: #cccccc;
}

.global-banner .image-wrap{
    height: 100%;
}

.global-banner .global-banner-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.global-banner .global-banner-content {
    padding-top: 30%;
    color: #ffffff;
}

.global-banner .global-banner-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.global-banner .global-banner-subtitle {
    margin-top: 0.5rem;
    font-size: 1.25rem;
}

.global-nav{
    position: relative;
    background-color: #ffffff;
    box-shadow: 0 0.5rem 0.5rem rgba(0,0,0,0.1);
}

.global-nav.fixed{
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 50;
}

.global-nav .global-nav-body{
    text-align: left;
}

.global-nav .global-nav-body a{
    position: relative;
    display: inline-block;
    padding: 1.25rem 0;
    font-size: 1.125rem;
}

.global-nav .global-nav-body a:not(:last-child){
    margin-right: 3rem;
}

.global-nav .global-nav-body a.active,
.global-nav .global-nav-body a:hover{
    color: rgb(var(--theme-color));
}

.global-nav .global-nav-body a::after{
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.25rem;
    background-color: rgb(var(--theme-color));
    opacity: 0;
    transition: opacity ease 0.5s;
}

.global-nav .global-nav-body a.active::after,
.global-nav .global-nav-body a:hover::after{
    opacity: 1;
}

/* 全局当前位置 */
.global-position {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background-color: #eeeeee;
}

.global-position .global-position-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.875rem;
    color: #666666;
}

.global-position .global-position-crumb {
    padding-left: 1.75rem;
    font-size: 0.875rem;
    color: #666666;
    background-image: url('../icon/global-position.svg');
    background-position: left center;
    background-size: contain;
    background-repeat: no-repeat;
}

.global-position .global-position-crumb a{
    transition: color ease 0.5s;
}

.global-position .global-position-crumb a:not(:first-child){
    margin-left: 0.5rem;
}

.global-position .global-position-crumb a:not(:last-child){
    margin-right: 0.5rem;
}

.global-position .global-position-crumb a[href]:hover{
    color: rgb(var(--theme-color));
}

/* 全局分页器开始 */
.global-pagination {
    margin-top: 3.5rem;
}

.global-pagination ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    text-align: center;
    font-size: 1rem;
    color: #555555;
}

.global-pagination ul > strong{
    margin-left: 0.375rem;
    margin-right: 0.375rem;
}

.global-pagination li {
    margin: 0.25rem 0.375rem;
}

.global-pagination li > *{
    display: block;
    padding: 0.5rem 1rem;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 0.25rem;
    color: #6e6e6e;
}

.global-pagination li > a:not([href]),
.global-pagination li.disable > *,
.global-pagination li > *.disable{
    background-color: #ececec;
    color: #666666;
    cursor: auto;
}

.global-pagination li.active > *,
.global-pagination li.active > a:not([href]),
.global-pagination li a[href]:hover {
    background-color: rgb(var(--theme-color));
    border: 1px solid rgb(var(--theme-color));
    color: #ffffff;
}
/* 全局分页器结束 */

/* 全局联系我们开始 */
.global-contact{
    position: relative;
    height: 20rem;
}

.global-contact .image-wrap{
    height: 100%;
}

.global-contact .global-contact-content{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.global-contact .global-contact-title{
    font-size: 2rem;
}

.global-contact .global-contact-desc{
    margin-top: 1rem;
    font-size: 1rem;
}

.global-contact .global-contact-btn{
    display: block;
    margin: 1.5rem 0 0;
    padding: 0.75rem 2.5rem;
    width: max-content;
    border: 1px solid #ffffff;
    border-radius: 3rem;
    color: #ffffff;
}

.global-contact .global-contact-btn:hover{
    background-color: #ffffff;
    color: rgb(var(--theme-color));
}
/* 全局联系我们结束 */

/* 侧边栏卡开始 */
.sidebar-article{
    background-color: #ffffff;
}

.sidebar-article .sidebar-article-title{
    padding: 1.25rem;
    border-bottom: 1px solid #f3f3f3;
    font-weight: 700;
    font-size: 1.375rem;
    color: #1a1a1a;
}

.sidebar-article .sidebar-article-list{
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}

.sidebar-article .sidebar-article-item-content{
    padding-top: 1.25rem;
}

.sidebar-article .sidebar-article-item:hover img{
    transform: scale(1.1);
}

.sidebar-article .sidebar-article-item-title{
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    transition: color ease 0.5s;
}

.sidebar-article .sidebar-article-item:hover .sidebar-article-item-title{
    color: rgb(var(--theme-color));
}

.sidebar-article .sidebar-article-item-desc{
    margin-top: 0.375rem;
    font-size: 0.875rem;
    color: #777777;
}

#backTop{
    position: fixed;
    bottom: 4rem;
    right: 4rem;
    z-index: 100;
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgb(var(--theme-color));
    background-image: url('../icon/back-top.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    border-radius: 100%;
    box-shadow: 0 0 0.75rem rgba(255,255,255,0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity ease 0.5s;
}

#backTop.active{
    opacity: 1;
    visibility: visible;
}
/* 侧边栏结束 */

@media screen and (max-width: 998px){
    .swiper-container-wrap .swiper-navigation-prev,
    .swiper-container-wrap .swiper-navigation-next{
        width: 2rem;
        height: 2rem;
        margin-top: -1rem;
    }

    .swiper-container-wrap .swiper-navigation-prev{
        left: 0.5rem;
    }

    .swiper-container-wrap .swiper-navigation-next{
        right: 0.5rem;
    }

    .global-banner{
        height: 6rem;
    }

    .global-nav .global-nav-body a{
        padding: 1rem 0;
        font-size: 1rem;
    }

    .global-nav .global-nav-body a:not(:last-child){
        margin-right: 1rem;
    }

    .global-position{
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .global-pagination{
        margin-top: 2rem;
    }

    .sidebar-page .sidebar-page-body{
        width: 100%;
    }

    .sidebar-page .sidebar-page-sidebar{
        width: 100%;
    }

    .sidebar-article .sidebar-article-title{
        padding: 1rem;
        font-size: 1.25rem;
    }

    .sidebar-article .sidebar-article-list{
        padding: 1rem;
        gap: 1.5rem;
    }

    .sidebar-article .sidebar-article-item-content{
        padding-top: 0.75rem;
    }

    .sidebar-article .sidebar-article-item-title{
        font-size: 1rem;
    }

    .space-page{
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #backTop{
        right: 2rem;
        bottom: 6rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}